package com.crm.service.impl.returnMoney;

import com.crm.dao.mapper.customMapper.returnMoneyManagerCustomMapper.RmExamineRecordCustomMapper;
import com.crm.dao.mapper.returnMoney.RmExamineRecordMapper;
import com.crm.model.entity.returnMoney.RmExamineRecord;
import com.crm.model.qo.returnMoney.RmExamineRecordQO;
import com.crm.model.vo.returnMoney.RmExamineRecordVO;
import com.crm.service.returnMoney.RmExamineRecordDbService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class RmExamineRecordDbServiceImpl implements RmExamineRecordDbService {

    @Autowired
    private RmExamineRecordMapper rmExamineRecordMapper;
    @Autowired
    private RmExamineRecordCustomMapper rmExamineRecordCustomMapper;

    @Override
    public int insertSelective(RmExamineRecord record) {
        return rmExamineRecordMapper.insertSelective(record);
    }

    @Override
    public List<RmExamineRecordVO> selectList(RmExamineRecordQO rmExamineRecordQO) {
        return rmExamineRecordCustomMapper.selectList(rmExamineRecordQO);
    }
}